import {Result} from '@/base/Result';
import {request} from '@/base/Request';
import {Page} from '@/base/Page';
import {Evaluation} from '@/base/model/Evaluation';

export function getEvaluationList(params: {
  pageIndex: number;
  pageSize: number;
  sortDirection: string;
  createBegin?: string,
  createEnd?: string,
  phone?: string,
  sortName? : string,
  modelName? : string,
  modeName? :string,
}): Promise<Result<Page<Evaluation>>> {
  return request.getPage(Evaluation, '/api/member-evaluation/fetchMemberEvaluation', {params});
}
